wayland: Implement gdk_screen_get_monitor_scale()
authorAlexander Larsson <alexl@redhat.com>
Tue, 4 Jun 2013 09:18:49 +0000 (11:18 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 3 Jul 2013 12:34:13 +0000 (14:34 +0200)
commitce68a2f870dbd6fd4811c7e04935ced5b78e7560
treee390259c5a6adf7db16ab309d48daa39c03d6cd7
parent8524e0c1507043c6c230828493e52ce666e67a5a
wayland: Implement gdk_screen_get_monitor_scale()

We bind to the newer version of the wl_output which supports
the new done and scale events, and if we use this to get the
scale for each monitor (defaulting to 1 if not supported).
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdkscreen-wayland.c